package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;

import lombok.*;

/**
 * 中台监控-内部订购单配置-实体
 * @author zfsn
 * @date 2023-4-20
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "中台监控-内部订购单配置", description = "")
@TableName("conf_mp_internal_purchase")
public class ConfMpInternalPurchase extends Model<ConfMpInternalPurchase> {

	/**
	 * 主键，唯一标识数据
	 */
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 能力编码
	 */
	@ApiModelProperty(value = "能力编码", notes = "能力编码")
	private String abilityCode;

	/**
	 * 能力名称
	 */
	@ApiModelProperty(value = "能力名称", notes = "能力名称")
	private String abilityName;

	/**
	 * 服务编码
	 */
	@ApiModelProperty(value = "服务编码", notes = "服务编码")
	private String serviceCode;

	/**
	 * 服务名称
	 */
	@ApiModelProperty(value = "服务名称", notes = "服务名称")
	private String serviceName;

	/**
	 * 能力提供方机构编码
	 */
	@ApiModelProperty(value = "能力提供方机构编码", notes = "能力提供方机构编码")
	private String providerInsCode;

	/**
	 * 能力提供方机构名称
	 */
	@ApiModelProperty(value = "能力提供方机构名称", notes = "能力提供方机构名称")
	private String providerInsName;

	/**
	 * 能力提供方单位编码
	 */
	@ApiModelProperty(value = "能力提供方单位编码", notes = "能力提供方单位编码")
	private String providerOrgCode;

	/**
	 * 订购单位编码
	 */
	@ApiModelProperty(value = "订购单位编码", notes = "订购单位编码")
	private String orgCode;

	/**
	 * 订购部门编码
	 */
	@ApiModelProperty(value = "订购部门编码", notes = "订购部门编码")
	private String departmentCode;

	/**
	 * 订购部门名称
	 */
	@ApiModelProperty(value = "订购部门名称", notes = "订购部门名称")
	private String departmentName;

	/**
	 * 订购应用编码
	 */
	@ApiModelProperty(value = "订购应用编码", notes = "订购应用编码")
	private String appCode;

	/**
	 * 订购应用名称
	 */
	@ApiModelProperty(value = "订购应用名称", notes = "订购应用名称")
	private String appName;

	/**
	 * 订单编码
	 */
	@ApiModelProperty(value = "订单编码", notes = "订单编码")
	private String orderCode;

	/**
	 * 子订单编码
	 */
	@ApiModelProperty(value = "子订单编码", notes = "子订单编码")
	private String suborderCode;

	/**
	 * 子订单类型，字典：mp_suborder_type
	 */
	@ApiModelProperty(value = "子订单类型", notes = "子订单类型，字典：mp_suborder_type")
	private String suborderType;

	/**
	 * 子订单状态，字典：mp_suborder_status
	 */
	@ApiModelProperty(value = "子订单状态", notes = "子订单状态，字典：mp_suborder_status")
	private String suborderStatus;

	/**
	 * 服务开通结果，字典：mp_service_grant_result
	 */
	@ApiModelProperty(value = "服务开通结果", notes = "服务开通结果，字典：mp_service_grant_result")
	private String serviceGrantResult;

	/**
	 * 显示顺序
	 */
	@ApiModelProperty(value = "显示顺序", notes = "显示顺序")
	private Integer sequence;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", notes = "创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", notes = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@ApiModelProperty(value = "更新人", notes = "更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", notes = "更新时间")
	private LocalDateTime updateTime;

	/**
	 * 是否逻辑删除，0：否、1：是
	 */
	@ApiModelProperty(value = "是否逻辑删除", notes = "是否逻辑删除，0：否、1：是")
	private Integer isDel;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", notes = "备注")
	private String remarks;

}